<script setup lang="ts">
defineProps({
  title: {
    type: String,
  },
  name: {
    type: String,
    default: '#icon-',
  },
  color: {
    type: String,
  },
  height: {
    type: String,
    default: 20,
  },
  width: {
    type: String,
    default: 20,
  },
})
</script>

<template>
  <svg :height="height" :width="width">
    <use :xlink:href="name + title" :fill="color"></use>
  </svg>
</template>

<style scoped></style>
